import hasRoles from "@/directive/permission/hasRoles";
import Vue from 'vue'
const install = function (Vue) {
  Vue.directive('hasRoles', hasRoles);
}

if (window.Vue) {
  window['hasRole'] = hasRole

  Vue.use(install); // eslint-disable-line
}

export default install
